#ifndef ALLNETSCANWIDGET_H
#define ALLNETSCANWIDGET_H

#include <QWidget>
#include <QListWidget>
#include <QJsonArray>
#include <QJsonDocument>
#include <QJsonObject>
#include "protocol.h"
//
class FriendRequestWidget;
//
namespace Ui {
class AllNetScanWidget;
}

class AllNetScanWidget : public QWidget
{
    Q_OBJECT

public:
    explicit AllNetScanWidget(QWidget *parent = nullptr);
    ~AllNetScanWidget();

    QListWidget* GetScanListWidget();

private slots:
    void on_AllNetScanBtn_clicked();

    void on_ScanlistWidget_itemClicked(QListWidgetItem *item);

    void ActForShowAllNetScanAll(QList<QPair<QString,QString>> recvData);
signals:
    void Sig_AllNetFindAll(myuint,QJsonObject body);
private:
    Ui::AllNetScanWidget *ui;

    void LinkTcpSignalAndSlot();

};

#endif // ALLNETSCANWIDGET_H
